const Router = require('koa-router')
const router = new Router()
const koaBody = require('koa-bodyparser');

const shequ=require('../model/shequ');
router.post('/getpost', koaBody(), async (ctx, next) => {
    const user_post = await shequ.GET_POST();
    console.log(user_post);
    ctx.body = user_post;
})


module.exports = router;